<div class="row chartsBox">
  <div class="col-md-12 chartCon">
     <div id="ipTotal" class="chartStyle"></div>
    <div class="chartText">
        <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
            昨
        </i>
        <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
        <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
            今
        </i>
        <span class="valColor tCurrentTotal todayStyle2">暂无</span>
        <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
            总
        </i>
        <span class="valColor yTotal totalStyle2">暂无</span>
        <#if shiro.hasPermission("chartDetials:ipChart:exportExcel")>
        <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
 </div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="badIp" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:badIpChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
            </#if>
        </div>
   </div>
</div>

<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="shareUsers" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:newUsersCharts:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
            </#if>
        </div>
    </div>
</div>

<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="activeUsers" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:activeUsersChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
            </#if>
        </div>
   </div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="articleTotal" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:newArticleChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
            </#if>
        </div>
    </div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="shareArticle" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:forwardArticleChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
            </#if>
        </div>
    </div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="shareArticleNum" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:shareArticleNum:chartExport")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<#if shiro.hasPermission("chartDetails:platReadCount:showCharts")>
<div class="row">
    <div class="col-md-2" style="margin: 20px 0;padding-right: 0px">
        <select id="fromSelect"  class="selectpicker"   multiple  title="选择来源" onchange="chartPage.selectChange()">
            <option value="singlemessage">私聊</option>
            <option value="groupmessage">群聊</option>
            <option value="timeline">朋友圈</option>
        </select>
    </div>
    <div class="col-md-2" style="margin: 20px 0">
        <select id="fromSelect2"  class="selectpicker"   multiple  title="选择事件类型" onchange="chartPage.selectChange()">
            <option value="0">阅读文章</option>
            <option value="2">点击相关阅读</option>
            <option value="5">点击展开全文</option>
            <option value="6">阅读文档滚动到底部</option>
        </select>
    </div>
</div>
</#if>
<div class="row chartsBox">

    <div class="col-md-12 chartCon">

        <div id="platReacCount2" class="chartStyle"></div>

        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:platReadCountChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>

    </div>
</div>
</div>

<!--<div class="row chartsBox">-->
    <!--<div class="col-md-12 chartCon">-->
        <!--<div id="sharePeoples" class="chartStyle"></div>-->
        <!--<div class="chartText">-->
            <!--<i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">-->
                <!--昨-->
            <!--</i>-->
            <!--<span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>-->
            <!--<i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">-->
                <!--今-->
            <!--</i>-->
            <!--<span class="valColor tCurrentTotal todayStyle2">暂无</span>-->
            <!--<i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">-->
                <!--总-->
            <!--</i>-->
            <!--<span class="valColor yTotal totalStyle2">暂无</span>-->
            <!--<#if shiro.hasPermission("chartDetials:forwardArticlePeoplesChart:exportExcel")>-->
            <!--<span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>-->
            <!--</#if>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->

<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="income" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:incomeChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="ipUse" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:ipUseChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>

<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("mainDetails:forwardIncome:chartExport")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="h5Income2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("mainDetails:h5Income:chartExport")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>

<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("mainDetails:forwardIpUse:chartExport")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="h5IpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("mainDetails:h5IPUse:chartExport")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardOutIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:forwardOutIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardInsideIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:forwardInsideIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardOutIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:forwardOutIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="forwardInsideIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:forwardInsideIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newTotalIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newTotalIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newH5Income2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newH5Income:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newTotalIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newH5IpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetials:newH5IpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardOutIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardOutIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardInsideIncome2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardInsideIncome:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardOutIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardOutIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="newForwardInsideIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:newForwardInsideIpUse:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="comparePriceExpend2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:comparePriceExpendChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<div class="row chartsBox">
    <div class="col-md-12 chartCon">
        <div id="comparePriceIpUse2" class="chartStyle"></div>
        <div class="chartText">
            <i class="tipLogo yesterdayStyle1" data-toggle="tooltip" data-placement="top" title="昨日此时总计">
                昨
            </i>
            <span class="valColor yCurrentTotal yesterdayStyle2">暂无</span>
            <i class="tipLogo todayStyle1" data-toggle="tooltip" data-placement="top" title="今日此时总计">
                今
            </i>
            <span class="valColor tCurrentTotal todayStyle2">暂无</span>
            <i class="tipLogo totalStyle1" data-toggle="tooltip" data-placement="top" title="昨日总计">
                总
            </i>
            <span class="valColor yTotal totalStyle2">暂无</span>
            <#if shiro.hasPermission("chartDetails:comparePriceIpUseChart:exportExcel")>
            <span class="exportExcelBtn"><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>
        </#if>
    </div>
</div>
</div>
<!--<div class="row chartsBox">-->
    <!--<div class="col-md-12 chartCon">-->
        <!--<div class="exportExcelBox">-->
            <!--<div class="row">-->
                <!--<div class="col-md-2">-->
                    <!--<#if shiro.hasPermission("chartDetails:platReadCountChart:exportExcel")>-->
                    <!--<span class="exportExcelBtn" data-exporType=""><i class="fa fa-download" style="padding-right: 5px;"></i>导出</span>-->
                <!--</#if>-->
            <!--</div>-->
            <!--<div class="col-md-3">-->
                <!--<select id="fromSelect"  class="selectpicker"   multiple  title="选择来源" onchange="chartPage.selectChange()">-->
                    <!--<option value="singlemessage">私聊</option>-->
                    <!--<option value="groupmessage">群聊</option>-->
                    <!--<option value="timeLine">朋友圈</option>-->
                <!--</select>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
    <!--<div id="platReacCount2" class="chartStyle"></div>-->
<!--</div>-->


<!--</div>-->
<script type="text/javascript">
    $(function () {
        //chartPage.init();
        chartPage.showChart();
        chartPage.showToptip();
     });
    var allData;
    var ipTotal;
    var incomeData;
    var ipUseData;
    var sharePeoplesData;
    var badIpData;
    var shareArticleNum;
    var forwardIncomeDa;
    var h5IncomeDa;
    var forwardIpUseDa;
    var h5IpUseData;
    var newTotalIncome2;
    var newForwardIncome2;
    var newH5Income2;
    var newTotalIpUse2;
    var newForwardIpUse2;
    var newH5IpUse2;
    var forwardOutIncome2;
    var forwardInsideIncome2;
    var forwardOutIpUse2;
    var forwardInsideIpUse2;
    var newForwardOutIncome2;
    var newForwardInsideIncome2;
    var newForwardOutIpUse2;
    var newForwardInsideIpUse2;
    var comparePriceExpend2;
    var comparePriceIpUse2;
    var platReacCount2;
    var isLoading = false;
    var ipLoading = false;
    var timeVal;
    var btime;
    var atime;
    var searchParams;
    var chartPage = {
        init:function (data) {
           // console.log(data);
            searchParams = data;
            btime = data.beforeTime;
            atime = data.afterTime;
            var _this = this;
           // $('#fromSelect').val(['single_read_num','single_click_related_num','single_click_spread_num','single_roll_end_num','group_read_num','group_click_related_num','group_click_spread_num','group_roll_end_num','time_line_read_num','time_line_click_related_num','time_line_roll_end_num','time_line_click_spread_num']);
            $('#fromSelect').val(['singlemessage','groupmessage','timeline']);
            $('#fromSelect').selectpicker('refresh');
            $('#fromSelect2').val(['0']);
            $('#fromSelect2').selectpicker('refresh');
            _this.setTimer(data);
            //_this.goToDetails();
        },
        selectChange:function () {
            var _this = this;
            _this.getPlatReadCountData(searchParams);
        },
        showToptip:function () {
            $('[data-toggle="tooltip"]').tooltip();
        },
        showChart:function () {
            isAuth("data:chartsInfo:activeUser")? this.chartOpt('activeUsers','活跃用户'):hideDom2("#activeUsers");
            isAuth("data:chartsInfo:newUser")?this.chartOpt('shareUsers','新增用户'):hideDom2("#shareUsers");
            isAuth("data:chartsInfo:newArticle")? this.chartOpt('articleTotal','新增文章'):hideDom2("#articleTotal");
            isAuth("data:chartsInfo:forwardArticle")?this.chartOpt('shareArticle','转发文章数'):hideDom2("#shareArticle");
            isAuth("data:chartsInfo:ipCount")?this.chartOpt('ipTotal','IP数'):hideDom2("#ipTotal");
            isAuth("data:chartsInfo:lockedDomain")?this.chartOpt('badIp','被封域名'):hideDom2("#badIp");
            //isAuth("chartDetials:sharePeoples:sharePeoplesCharts")?this.chartOpt('sharePeoples','转发文章人数'):'';
            //console.log(isAuth("chartDetials:ipUse:ipUseChart"));
            isAuth("chartDetials:ipUse:ipUseChart")?this.chartOpt('ipUse','ip消耗'):hideDom2("#ipUse");
            isAuth("chartDetials:income:incomeChart")?this.chartOpt('income','收益'):hideDom2("#income");
            isAuth("chartDetails:shareArticleNum:chartsShow")?this.chartOpt('shareArticleNum','转发文章次数'):hideDom2("#shareArticleNum");
            //mainDetails:forwardIncome:showCharts
            isAuth("mainDetails:forwardIncome:showCharts")?this.chartOpt('forwardIncome2','转发区收益'):hideDom2("#forwardIncome2");
            //mainDetails:h5Income:showCharts
            isAuth("mainDetails:h5Income:showCharts")?this.chartOpt('h5Income2','h5收益'):hideDom2("#h5Income2");
            //mainDetails:forwardIpUse:showCharts
            isAuth("mainDetails:forwardIpUse:showCharts")?this.chartOpt('forwardIpUse2','转发区ip消耗'):hideDom2("#forwardIpUse2");
            //mainDetails:h5IpUse:showCharts
            isAuth("mainDetails:h5IpUse:showCharts")?this.chartOpt('h5IpUse2','h5ip消耗'):hideDom2("#h5IpUse2");
            //chartDetails:newTotalIncome:showCharts
            isAuth("chartDetails:newTotalIncome:showCharts")?this.chartOpt('newTotalIncome2','新广告系统收益'):hideDom2("#newTotalIncome2");
            //chartDetails:newForwardIncome:showCharts
            isAuth("chartDetails:newForwardIncome:showCharts")?this.chartOpt('newForwardIncome2','新转发区收益'):hideDom2("#newForwardIncome2");
            //chartDetails:newH5Income:showCharts
            isAuth("chartDetails:newH5Income:showCharts")?this.chartOpt('newH5Income2','新h5收益'):hideDom2("#newH5Income2");
            //chartDetails:newIpUse:showCharts
            isAuth("chartDetails:newIpUse:showCharts")?this.chartOpt('newTotalIpUse2','新广告系统IP消耗'):hideDom2("#newTotalIpUse2");
            //chartDetails:newForwardIpUse:showCharts
            isAuth("chartDetails:newForwardIpUse:showCharts")?this.chartOpt('newForwardIpUse2','新转发区IP消耗'):hideDom2("#newForwardIpUse2");
            //chartDetails:newH5IpUse:showCharts
            isAuth("chartDetails:newH5IpUse:showCharts")?this.chartOpt('newH5IpUse2','新h5IP消耗'):hideDom2("#newH5IpUse2");
            //chartDetails:forwardOutIncome:showCharts
            isAuth("chartDetails:forwardOutIncome:showCharts")?this.chartOpt('forwardOutIncome2','转发区外部收益'):hideDom2("#forwardOutIncome2");
            //chartDetails:forwardInsideIncome:showCharts
            isAuth("chartDetails:forwardInsideIncome:showCharts")?this.chartOpt('forwardInsideIncome2','转发区内部收益'):hideDom2("#forwardInsideIncome2");
           //chartDetails:forwardOutIpUse:showCharts
            isAuth("chartDetails:forwardOutIpUse:showCharts")?this.chartOpt('forwardOutIpUse2','转发区外部ip消耗'):hideDom2("#forwardOutIpUse2");
            //chartDetails:forwardInsideIpUse:showCharts
            isAuth("chartDetails:forwardInsideIpUse:showCharts")?this.chartOpt('forwardInsideIpUse2','转发区内部ip消耗'):hideDom2("#forwardInsideIpUse2");
            //chartDetails:newForwardOutIncome:showCharts
            isAuth("chartDetails:newForwardOutIncome:showCharts")?this.chartOpt('newForwardOutIncome2','新转发区外部收益'):hideDom2("#newForwardOutIncome2");
            //chartDetails:newForwardInsideIncome:showCharts
            isAuth("chartDetails:newForwardInsideIncome:showCharts")?this.chartOpt('newForwardInsideIncome2','新转发区内部收益'):hideDom2("#newForwardInsideIncome2");
            //chartDetails:newForwardOutIpUse:showCharts
            isAuth("chartDetails:newForwardOutIpUse:showCharts")?this.chartOpt('newForwardOutIpUse2','新转发区外部ip消耗'):hideDom2("#newForwardOutIpUse2");
            //chartDetails:newForwardInsideIpUse:showCharts
            isAuth("chartDetails:newForwardInsideIpUse:showCharts")?this.chartOpt('newForwardInsideIpUse2','新转发区内部ip消耗'):hideDom2("#newForwardInsideIpUse2");
           //chartDetails:comparePriceExpend:showCharts
            isAuth("chartDetails:comparePriceExpend:showCharts")?this.chartOpt('comparePriceExpend2','竞价收益'):hideDom2("#comparePriceExpend2");
          //chartDetials:comparePriceIpUse:showCharts
            isAuth("chartDetials:comparePriceIpUse:showCharts")?this.chartOpt('comparePriceIpUse2','竞价ip消耗'):hideDom2("#comparePriceIpUse2");
          //chartDetails:platReadCount:showCharts
            isAuth("chartDetails:platReadCount:showCharts")?this.chartOpt('platReacCount2','文章阅读数'):hideDom2("#platReacCount2");
        },
        goToDetails:function () {
            $("#goDetails").click(function () {
                window.location.href = "modules/view/mainDetails.html";
            });
        },
        setHours:function () {
            var hours = [];
            for (let i=0;i<24;i++){
               if(i<10){
                   hours.push(0 + '' + i + ':00');
                }else{
                  hours.push(i + ':00');
               }

             };
            //console.log(hours);
            return hours;
        },
        setTimer:function (data) {
            var _this = this;
            _this.getData(data);
            _this.getIp(data);
            //_this.getSharePeoples(id,date,timeType);
            _this.getBadIpData(data);
            _this.getIncomeChart(data);
            _this.getIpUseData(data);
            _this.getShareArticleNum(data);

            _this.getMainH5IpUse(data);
            _this.getMainForwardIpUse(data);
            _this.getMainH5Income(data);
            _this.getMainDeForwardIncome(data);
            _this.getMainNewTotalIncome(data);
            _this.getMainNewForwardIncome(data);
            _this.getMainNewH5Income(data);
            _this.getMainNewTotalIpUse(data);
            _this.getMainNewForwardIpUse(data);
            _this.getMainNewH5IpUse(data);
            _this.getMainForwardOutIncome(data);
            _this.getMainForwardInIncome(data);
            _this.getMainForwardOutIpUse(data);
            _this.getMainForwardInsideIpUse(data);
            _this.getMainNewForwardOutIncome(data);
            _this.getMainNewForwardInsideIncome(data);
            _this.getMainNewForwardOutIpUse(data);
            _this.getMainNewForwardInsideIpUse(data);
            _this.getComparePriceExpendData(data);
            _this.getComparePriceIpUseData(data);
            _this.getPlatReadCountData(data);
        },
        getPlatReadCountData:function (data) {
            var _this = this;
            var transDatas =  $("#fromSelect").val() || [];
            var transDatas2 =  $("#fromSelect2").val() || [];
            var readFrom = {
                params:transDatas,
                params2:transDatas2
            };
            var data = Object.assign(data,readFrom);
            ajaxc({
                type: "POST",
                permit:'chartDetails:platReadCount:showCharts',
                url: baseURL+"articleStatis/getArticleRecordReadNumStaticsDetailHourChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        platReacCount2 = result.result;
                        _this.showPlatReadCountChart2(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getComparePriceIpUseData:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetials:comparePriceIpUse:showCharts',
                url: baseURL+"biddingStatis/getClickBiddingCenterSspStrategyHourChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        comparePriceIpUse2 = result.result;
                        _this.showComparePriceIpUseChart2(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getComparePriceExpendData:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:comparePriceExpend:showCharts',
                url: baseURL+"biddingStatis/getCostBiddingCenterSspStrategyHourChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        comparePriceExpend2 = result.result;
                        _this.showComparePriceExpendChart2(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardInsideIpUse:function(data){
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardInsideIpUse:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaInStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardInsideIpUse2 = result.result;
                        _this.showMainNewForwardInsideIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardOutIpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardOutIpUse:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaOutStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardOutIpUse2 = result.result;
                        _this.showMainNewForwardOutIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardInsideIncome:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardInsideIncome:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaInExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardInsideIncome2 = result.result;
                        _this.showMainNewForwardInsideIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardOutIncome:function (data) {
            var _this = this;
             ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardOutIncome:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaOutExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardOutIncome2 = result.result;
                        _this.showMainNewForwardOutIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainForwardInsideIpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:forwardInsideIpUse:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaInStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardInsideIpUse2 = result.result;
                        _this.showMainForwardInsideIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainForwardOutIpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:forwardOutIpUse:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaOutStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardOutIpUse2 = result.result;
                        _this.showMainForwardOutIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainForwardInIncome:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:forwardInsideIncome:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaInExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardInsideIncome2 = result.result;
                        _this.showMainForwardInsideIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainForwardOutIncome:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:forwardOutIncome:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaOutExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardOutIncome2 = result.result;
                        _this.showMainForwardOutIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewH5IpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newH5IpUse:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerH5StatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newH5IpUse2 = result.result;
                        _this.showMainNewH5IpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardIpUse:function (data) {
            var _this = this;
             ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardIpUse:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardIpUse2 = result.result;
                        _this.showMainNewForwardIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewTotalIpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newIpUse:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newTotalIpUse2 = result.result;
                        _this.showMainNewIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewH5Income:function (data) {
            var _this = this;
           ajaxc({
                type: "POST",
                permit:'chartDetails:newH5Income:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerH5ExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newH5Income2 = result.result;
                        _this.showMainNewH5Income(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewForwardIncome:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetails:newForwardIncome:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerForwardAreaExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newForwardIncome2 = result.result;
                        _this.showMainNewForwardIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainNewTotalIncome:function (data) {
            var _this = this;
             ajaxc({
                type: "POST",
                permit:'chartDetails:newTotalIncome:showCharts',
                url: baseURL+"articleStatisNew/getNewSystemCustomerExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        newTotalIncome2 = result.result;
                        _this.showMainNewTotalIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainH5IpUse:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'mainDetails:h5IpUse:showCharts',
                url: baseURL+"articleStatisNew/getH5AreaStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        h5IpUseData = result.result;
                        _this.showMainH5IpUseChart(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainForwardIpUse:function (data) {
            var _this = this;
           ajaxc({
                type: "POST",
                permit:'mainDetails:forwardIpUse:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardIpUseDa = result.result;
                        _this.showMainForwardIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainH5Income:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'mainDetails:h5Income:showCharts',
                url: baseURL+"articleStatisNew/getCustomerH5ExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        h5IncomeDa = result.result;
                        _this.showMainH5Income(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getMainDeForwardIncome:function (data) {
            var _this = this;
             ajaxc({
                type: "POST",
                permit:'mainDetails:forwardIncome:showCharts',
                url: baseURL+"articleStatisNew/getCustomerForwardAreaExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        forwardIncomeDa = result.result;
                        _this.showMainForwardIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getIp:function (data) {
            var _this = this;
            ajaxc({
                    type: "POST",
                    permit:'data:chartsInfo:ipCount',
                    url: baseURL+"ip/getIpStatisDetail",
                    data: JSON.stringify(data),
                    contentType : "application/json",
                    success: function(result){
                        ipLoading = false;
                        if(result.code == 0){//登录成功
                            //console.log(result.result)
                            ipTotal = result.ipChart;
                            _this.ipTotal(data.timeType,btime,atime);
                            }else{
                            layer.msg(result.msg);
                        }
                    }
                });

        },
        getShareArticleNum:function (data) {
            var _this = this;
           ajaxc({
                type: "POST",
                permit:'chartDetails:shareArticleNum:chartsShow',
                url: baseURL+"articleStatis/getSharedArticleNumStatisDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        shareArticleNum = result.result;
                        _this.showShareArticleNum(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getIncomeChart:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:'chartDetials:income:incomeChart',
                url: baseURL+"articleStatis/getCustomerExpandPriceDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        incomeData = result.result;
                        _this.showIncome(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getIpUseData:function (data) {
            var _this = this;
             ajaxc({
                type: "POST",
                permit:'chartDetials:ipUse:ipUseChart',
                url: baseURL+"articleStatis/getCustomerStatisIpDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    ipLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        ipUseData = result.result;
                        _this.showIpUse(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getData:function (data) {
            var _this = this;
           $.ajax({
                    type: "POST",
                    url: baseURL+"statis/getStatisDetailChart",
                    data: JSON.stringify(data),
                    contentType : "application/json",
                    success: function(result){
                        isLoading = false;
                        if(result.code == 0){//登录成功
                            //console.log(result.result)
                            allData = result.result;
                            isAuth("data:chartsInfo:activeUser")? _this.activeUsers(data.timeType,btime,atime):"";
                            isAuth("data:chartsInfo:newUser")?_this.shareUsers(data.timeType,btime,atime):"";
                            isAuth("data:chartsInfo:newArticle")? _this.articleTotal(data.timeType,btime,atime):"";
                            isAuth("data:chartsInfo:forwardArticle")?_this.shareArticle(data.timeType,btime,atime):"";
                           // isAuth("chartDetials:sharePeoples:sharePeoplesCharts")?_this.sharePeoples(timeType,b,a):"";
                        }else{
                            layer.msg(result.msg);
                        }
                    }
                });
        },
        getSharePeoples:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:"chartDetials:sharePeoples:sharePeoplesCharts",
                url: baseURL+"articleStatis/getForwardArticlePeopleStatisDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    isLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        sharePeoplesData = result.result;
                        _this.sharePeoples(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },
        getBadIpData:function (data) {
            var _this = this;
            ajaxc({
                type: "POST",
                permit:"data:chartsInfo:lockedDomain",
                url: baseURL+"domainsta/findDomainStaDetailChart",
                data: JSON.stringify(data),
                contentType : "application/json",
                success: function(result){
                    isLoading = false;
                    if(result.code == 0){//登录成功
                        //console.log(result.result)
                        badIpData = result.result;
                        _this.badIp(data.timeType,btime,atime);
                    }else{
                        layer.msg(result.msg);
                    }
                }
            });
        },

        chartOpt:function (id,title) {
             var _this = this;
             // 基于准备好的dom，初始化echarts实例
            var myChart = echarts.init(document.getElementById(id));
            // console.log(myChart)
            // 指定图表的配置项和数据
            var option = {
                title: {
                    text: title
                },
                tooltip: {
                    trigger: 'axis',
                    axisPointer: {
                        type: 'cross',
                        label: {
                            backgroundColor: '#6a7985'
                        }
                    }
                },
                color:['#2ec770','#1c97f5'],
                legend: {
                    data:['昨日','今日'],
                    left: '50%',
                },
                grid: {
                    left: '40px',
                    right: '4%',
                    top:'80px',
                    bottom:'3%',
                    containLabel: true
                },
                toolbox: {
                    feature: {
                        saveAsImage: {}
                    }
                },
                xAxis: {
                    type: 'category',
                    boundaryGap: false,
                    name:'时间',
                    nameLocation:'start',
                    data:_this.setHours()
                },
                yAxis: {
                    type: 'value',
                    name:'数量'
                },
                series: [
                    {
                        name:'昨日',
                        type:'line',
                        lineStyle:{
                            color:'#2ec770'
                        },
                        smooth: true,
                        data:[]
                    },
                    {
                        name:'今日',
                        type:'line',
                        areaStyle: {},
                        lineStyle:{
                            color:'#1c97f5'
                        },
                        smooth: true,
                        data:[]
                    }
                ]
            };

            // 使用刚指定的配置项和数据显示图表。
            myChart.setOption(option,true);

        },
        commonOption:function (id,title,yYData,yTData,timeType,xAxis,bt,at) {
           // console.log(title)
            //console.log(timeType,b,a)
           // console.log(bt,at);
            var b = bt;
            var a = at;
            var _this = this;
            var setOpt  = {};
            var axLabel = {
                formatter:'{value}'
            };
            var dataZoomOpt;
            if(title=='IP数' || timeType != "minute" || title=='收益' ||  title=='ip消耗'){
                dataZoomOpt = [];
            }else{
                dataZoomOpt = [{
                    startValue: '00:00'
                }, {
                    type: 'inside'
                }];
            }
           // console.log(dataZoomOpt)
           if((title != "IP数")&&(timeType == "minute" )&& (title!='收益') && (title!='ip消耗')){
                setOpt = {
                    interval:59
                };
            }
            if(timeType != "minute"){
                axLabel = {
                    formatter:function (params) {
                        // console.log(params.value);
                        var val  = params.value;
                        // console.log(params.value.indexOf('30'))
                        return params.value.indexOf('30')>-1? params.value + " ~ " + params.value.split(":")[0] + ":59" :timeType == 'semih'? params.value + " ~ " + params.value.split(":")[0] + ":30":params.value + " ~ " + params.value.split(":")[0] + ":59" ;
                    }
                };

            }
            // 基于准备好的dom，初始化echarts实例
            var myChart = echarts.init(document.getElementById(id));
            // console.log(myChart)
            // 指定图表的配置项和数据
            var option = {
                title: {
                    text: title
                },
                tooltip: {
                    trigger: 'axis',
                    formatter:function (params) {
                      // console.log(params,'22222');
                        var data;
                        var html = '<span style="color: #FFFFFF">'+params[0].axisValueLabel+'</span><br />';
                        var perHtml = '';
                        if(params.length > 1){
                            data = calPercent(params[1].value,params[0].value);
                            if(data.perType == 1){
                                perHtml = '<i class="fa fa-long-arrow-up" style="color: red;margin-right: 3px"></i><span style="color: red;">'+data.percent+'</span>';
                            }else if(data.perType == 2){
                                perHtml = '<i class="fa fa-long-arrow-down" style="color: #2ec770;margin-right: 3px"></i><span style="color: #2ec770;">'+data.percent+'</span>';
                            }

                        }
                        params.map(function (item) {
                            if(item.seriesName == a){
                                html = html + '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:' + item.color + '"></span>' + item.seriesName + '日 : ' + addSplit(item.value) + '&nbsp;&nbsp;&nbsp;'+ perHtml;
                            }else{
                                html = html + '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:' + item.color + '"></span>' + item.seriesName + '日 : ' + addSplit(item.value) + '<br/>';
                            }
                        });
                        return html;
                    },
                    axisPointer: {
                        type: 'cross',
                        label: {
                            backgroundColor: '#6a7985',
                            formatter:function (params) {
                               // console.log(params)
                                return params.value.toFixed(0)
                            }
                        }
                    }
                },
                color:['#2ec770','#1c97f5'],
                legend: {
                    data:[b,a],
                    left: '50%',
                },
                grid: {
                    left: '40px',
                    right: '4%',
                    top:'80px',
                    bottom:'3%',
                    containLabel: true
                },
                toolbox: {
                    feature: {
                        saveAsImage: {}
                    }
                },
                xAxis: {
                    type: 'category',
                    boundaryGap: false,
                    name:'时间',
                    nameLocation:'start',
                    data:xAxis,
                    //    title=='IP数'?ipTotal.hourList:allData.chartData.xAxis[0],
                    axisPointer:{
                        label:axLabel
                    },
                    axisLabel:setOpt
                    // splitArea:{
                    //     interval:59
                    // },
                    // splitLine:{
                    //     interval:59
                    // }
                },
                yAxis: {
                    type: 'value',
                    name:'数量'
                },
                dataZoom: dataZoomOpt,
                series: [
                    {
                        name:b,
                        type:'line',
                        lineStyle:{
                            color:'#2ec770'
                        },
                        smooth: true,
                        data:yYData
                    },
                    {
                        name:a,
                        type:'line',
                        areaStyle: {},
                        lineStyle:{
                            color:'#1c97f5'
                        },
                        smooth: true,
                        data:yTData
                    }
                ]
            };

            // 使用刚指定的配置项和数据显示图表。
            myChart.setOption(option,true);

        },
        getAllSites:function () {
            $.ajax({
                type : "get",
                url : baseURL+"platform/findAllPlatform",
                dataType : "json",
                success: function(data) {
                    if(data.code==0){
                        var _html = ''
                        for(var i=0;i<data.platformList.length;i++){
                            _html = _html + '<option value="'+data.platformList[i].platformId+'">'+data.platformList[i].platformName+'</option>'
                        }
                        $('#lzhsiteSelect').append(_html);
                        $('#lzhsiteSelect').selectpicker('refresh');

                    }else{
                        layer.msg('数据获取失败');
                    }
                },
                error:function(){
                    layer.msg('数据获取失败');
                }
            });
        },
        activeUsers:function (timeType,b,a) {
            this.commonOption('activeUsers','活跃用户',allData.chartData.yActiveUser,allData.chartData.tActiveUser,timeType,allData.chartData.xAxis[0],b,a);
            $("#activeUsers").siblings(".chartText").find(".tCurrentTotal").text(transData(allData.totalData[4].tTActiveUser));
            $("#activeUsers").siblings(".chartText").find(".yCurrentTotal").text(transData(allData.totalData[4].yTActiveUser));
            $("#activeUsers").siblings(".chartText").find(".yTotal").text(transData(allData.totalData[4].yActiveUser));

            $("#activeUsers").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+'日 此时总计 '+allData.totalData[4].yTActiveUser);
            $("#activeUsers").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+'日 此时总计 '+allData.totalData[4].tTActiveUser)
            $("#activeUsers").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+'日 总计 '+allData.totalData[4].yActiveUser)
        },
        shareUsers:function (timeType,b,a) {
            this.commonOption('shareUsers','新增用户',allData.chartData.yNewUser,allData.chartData.tNewUser,timeType,allData.chartData.xAxis[0],b,a);
            $("#shareUsers").siblings(".chartText").find(".tCurrentTotal").text(transData(allData.totalData[3].tTNewUser));
            $("#shareUsers").siblings(".chartText").find(".yCurrentTotal").text(transData(allData.totalData[3].yTNewUser));
            $("#shareUsers").siblings(".chartText").find(".yTotal").text(transData(allData.totalData[3].yNewUser));

            $("#shareUsers").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+allData.totalData[3].yTNewUser);
            $("#shareUsers").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+allData.totalData[3].tTNewUser)
            $("#shareUsers").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+allData.totalData[3].yNewUser)
        },
        ipTotal:function (timeType,b,a) {
            this.commonOption('ipTotal','IP数',ipTotal.yesTodayIpCount,ipTotal.todayIpCount,timeType,ipTotal.hourList,b,a);
            //console.log( $("#ipTotal").siblings(".chartText .tCurrentTotal").html())
            $("#ipTotal").siblings(".chartText").find(".tCurrentTotal").text(transData(ipTotal.todayNowCount));
            $("#ipTotal").siblings(".chartText").find(".yCurrentTotal").text(transData(ipTotal.yesterdayNowCount));
            $("#ipTotal").siblings(".chartText").find(".yTotal").text(transData(ipTotal.yesterdayTotalCount));

            $("#ipTotal").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+ipTotal.yesterdayNowCount);
            $("#ipTotal").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+ipTotal.todayNowCount)
            $("#ipTotal").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+ipTotal.yesterdayTotalCount)
        },
        articleTotal:function (timeType,b,a) {
            this.commonOption('articleTotal','新增文章',allData.chartData.yNewArticle,allData.chartData.tNewArticle,timeType,allData.chartData.xAxis[0],b,a);
            $("#articleTotal").siblings(".chartText").find(".tCurrentTotal").text(transData(allData.totalData[0].tTNewArticle));
            $("#articleTotal").siblings(".chartText").find(".yCurrentTotal").text(transData(allData.totalData[0].yTNewArticle));
            $("#articleTotal").siblings(".chartText").find(".yTotal").text(transData(allData.totalData[0].yNewArticle));

            $("#articleTotal").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+allData.totalData[0].yTNewArticle);
            $("#articleTotal").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+allData.totalData[0].tTNewArticle)
            $("#articleTotal").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+allData.totalData[0].yNewArticle)
        },
        badIp:function (timeType,b,a) {
            this.commonOption('badIp','被封域名',badIpData.chartData.yesterdayCount,badIpData.chartData.todayCount,timeType,badIpData.chartData.xAxis[0],b,a);
            $("#badIp").siblings(".chartText").find(".tCurrentTotal").text(transData(badIpData.totalData[0].todayCount));
            $("#badIp").siblings(".chartText").find(".yCurrentTotal").text(transData(badIpData.totalData[0].yesterdayNowCount));
            $("#badIp").siblings(".chartText").find(".yTotal").text(transData(badIpData.totalData[0].yesterdayTotalCount));

            $("#badIp").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+ badIpData.totalData[0].yesterdayNowCount);
            $("#badIp").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+ badIpData.totalData[0].todayCount);
            $("#badIp").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+ badIpData.totalData[0].yesterdayTotalCount);
        },
        shareArticle:function (timeType,b,a) {
            this.commonOption('shareArticle','转发文章数',allData.chartData.yForwardArticle,allData.chartData.tForwardArticle,timeType,allData.chartData.xAxis[0],b,a);
            $("#shareArticle").siblings(".chartText").find(".tCurrentTotal").text(transData(allData.totalData[1].tTForwardArticle));
            $("#shareArticle").siblings(".chartText").find(".yCurrentTotal").text(transData(allData.totalData[1].yTForwardArticle));
            $("#shareArticle").siblings(".chartText").find(".yTotal").text(transData(allData.totalData[1].yForwardArticle));

            $("#shareArticle").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+allData.totalData[1].yTForwardArticle);
            $("#shareArticle").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+allData.totalData[1].tTForwardArticle)
            $("#shareArticle").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+allData.totalData[1].yForwardArticle)
        },
        sharePeoples:function (timeType,b,a) {
            this.commonOption('sharePeoples','转发文章人数',sharePeoplesData.chartData.yCount,sharePeoplesData.chartData.tCount,timeType,sharePeoplesData.chartData.xAxis[0],b,a);
            $("#sharePeoples").siblings(".chartText").find(".tCurrentTotal").text(transData(sharePeoplesData.totalData[0].tTCount));
            $("#sharePeoples").siblings(".chartText").find(".yCurrentTotal").text(transData(sharePeoplesData.totalData[0].yTCount));
            $("#sharePeoples").siblings(".chartText").find(".yTotal").text(transData(sharePeoplesData.totalData[0].yCount));

            $("#sharePeoples").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+sharePeoplesData.totalData[0].yTCount);
            $("#sharePeoples").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+sharePeoplesData.totalData[0].tTCount)
            $("#sharePeoples").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+sharePeoplesData.totalData[0].yCount)
        },
        showIncome:function (timeType,b,a) {
            this.commonOption('income','收益',incomeData.chartData.ycount,incomeData.chartData.tcount,timeType,incomeData.chartData.xaxis[0],b,a);
            $("#income").siblings(".chartText").find(".tCurrentTotal").text(transData(incomeData.totalData[0].ttcount));
            $("#income").siblings(".chartText").find(".yCurrentTotal").text(transData(incomeData.totalData[0].ytcount));
            $("#income").siblings(".chartText").find(".yTotal").text(transData(incomeData.totalData[0].ycount));

            $("#income").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+incomeData.totalData[0].ytcount);
            $("#income").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+incomeData.totalData[0].ttcount)
            $("#income").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+incomeData.totalData[0].ycount)
        },
        showIpUse:function (timeType,b,a) {
            this.commonOption('ipUse','ip消耗',ipUseData.chartData.ycount,ipUseData.chartData.tcount,timeType,ipUseData.chartData.xaxis[0],b,a);
            $("#ipUse").siblings(".chartText").find(".tCurrentTotal").text(transData(ipUseData.totalData[0].ttcount));
            $("#ipUse").siblings(".chartText").find(".yCurrentTotal").text(transData(ipUseData.totalData[0].ytcount));
            $("#ipUse").siblings(".chartText").find(".yTotal").text(transData(ipUseData.totalData[0].ycount));

            $("#ipUse").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+ipUseData.totalData[0].ytcount);
            $("#ipUse").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+ipUseData.totalData[0].ttcount)
            $("#ipUse").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+ipUseData.totalData[0].ycount)
        },
        showShareArticleNum:function (timeType,b,a) {
            this.commonOption('shareArticleNum','转发文章次数',shareArticleNum.chartData.yCount,shareArticleNum.chartData.tCount,timeType,shareArticleNum.chartData.xAxis[0],b,a);
            $("#shareArticleNum").siblings(".chartText").find(".tCurrentTotal").text(transData(shareArticleNum.totalData[0].tTSharedArticleNum));
            $("#shareArticleNum").siblings(".chartText").find(".yCurrentTotal").text(transData(shareArticleNum.totalData[0].yTSharedArticleNum));
            $("#shareArticleNum").siblings(".chartText").find(".yTotal").text(transData(shareArticleNum.totalData[0].ySharedArticleNum));

            $("#shareArticleNum").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+shareArticleNum.totalData[0].yTSharedArticleNum);
            $("#shareArticleNum").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+shareArticleNum.totalData[0].tTSharedArticleNum)
            $("#shareArticleNum").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+shareArticleNum.totalData[0].ySharedArticleNum)
        },
        showMainForwardIncome:function (timeType,b,a) {
            this.commonOption('forwardIncome2','转发区收益',forwardIncomeDa.chartData.ycount,forwardIncomeDa.chartData.tcount,timeType,forwardIncomeDa.chartData.xaxis[0],b,a);
            $("#forwardIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardIncomeDa.totalData[0].ttcount));
            $("#forwardIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardIncomeDa.totalData[0].ytcount));
            $("#forwardIncome2").siblings(".chartText").find(".yTotal").text(transData(forwardIncomeDa.totalData[0].ycount));

            $("#forwardIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardIncomeDa.totalData[0].ytcount);
            $("#forwardIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardIncomeDa.totalData[0].ttcount)
            $("#forwardIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardIncomeDa.totalData[0].ycount)
        },
        showMainH5Income:function (timeType,b,a) {
            this.commonOption('h5Income2','h5收益',h5IncomeDa.chartData.ycount,h5IncomeDa.chartData.tcount,timeType,h5IncomeDa.chartData.xaxis[0],b,a);
            $("#h5Income2").siblings(".chartText").find(".tCurrentTotal").text(transData(h5IncomeDa.totalData[0].ttcount));
            $("#h5Income2").siblings(".chartText").find(".yCurrentTotal").text(transData(h5IncomeDa.totalData[0].ytcount));
            $("#h5Income2").siblings(".chartText").find(".yTotal").text(transData(h5IncomeDa.totalData[0].ycount));

            $("#h5Income2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+h5IncomeDa.totalData[0].ytcount);
            $("#h5Income2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+h5IncomeDa.totalData[0].ttcount)
            $("#h5Income2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+h5IncomeDa.totalData[0].ycount)
        },
        showMainForwardIpUse:function (timeType,b,a) {
            this.commonOption('forwardIpUse2','转发区ip消耗',forwardIpUseDa.chartData.ycount,forwardIpUseDa.chartData.tcount,timeType,forwardIpUseDa.chartData.xaxis[0],b,a);
            $("#forwardIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardIpUseDa.totalData[0].ttcount));
            $("#forwardIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardIpUseDa.totalData[0].ytcount));
            $("#forwardIpUse2").siblings(".chartText").find(".yTotal").text(transData(forwardIpUseDa.totalData[0].ycount));

            $("#forwardIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardIpUseDa.totalData[0].ytcount);
            $("#forwardIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardIpUseDa.totalData[0].ttcount)
            $("#forwardIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardIpUseDa.totalData[0].ycount)
        },
        showMainH5IpUseChart:function (timeType,b,a) {
            this.commonOption('h5IpUse2','h5ip消耗',h5IpUseData.chartData.ycount,h5IpUseData.chartData.tcount,timeType,h5IpUseData.chartData.xaxis[0],b,a);
            $("#h5IpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(h5IpUseData.totalData[0].ttcount));
            $("#h5IpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(h5IpUseData.totalData[0].ytcount));
            $("#h5IpUse2").siblings(".chartText").find(".yTotal").text(transData(h5IpUseData.totalData[0].ycount));

            $("#h5IpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+h5IpUseData.totalData[0].ytcount);
            $("#h5IpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+h5IpUseData.totalData[0].ttcount)
            $("#h5IpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+h5IpUseData.totalData[0].ycount)
        },

        showMainNewTotalIncome :function(timeType,b,a) {
            this.commonOption('newTotalIncome2','新广告系统收益',newTotalIncome2.chartData.ycount,newTotalIncome2.chartData.tcount,timeType,newTotalIncome2.chartData.xaxis[0],b,a);
            $("#newTotalIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(newTotalIncome2.totalData[0].ttcount));
            $("#newTotalIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(newTotalIncome2.totalData[0].ytcount));
            $("#newTotalIncome2").siblings(".chartText").find(".yTotal").text(transData(newTotalIncome2.totalData[0].ycount));

            $("#newTotalIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newTotalIncome2.totalData[0].ytcount);
            $("#newTotalIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newTotalIncome2.totalData[0].ttcount)
            $("#newTotalIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newTotalIncome2.totalData[0].ycount)
        },
        showMainNewForwardIncome:function (timeType,b,a) {
            this.commonOption('newForwardIncome2','新转发区收益',newForwardIncome2.chartData.ycount,newForwardIncome2.chartData.tcount,timeType,newForwardIncome2.chartData.xaxis[0],b,a);
            $("#newForwardIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardIncome2.totalData[0].ttcount));
            $("#newForwardIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardIncome2.totalData[0].ytcount));
            $("#newForwardIncome2").siblings(".chartText").find(".yTotal").text(transData(newForwardIncome2.totalData[0].ycount));

            $("#newForwardIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardIncome2.totalData[0].ytcount);
            $("#newForwardIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardIncome2.totalData[0].ttcount)
            $("#newForwardIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardIncome2.totalData[0].ycount)
        },
        showMainNewH5Income:function (timeType,b,a) {
            this.commonOption('newH5Income2','新h5收益',newH5Income2.chartData.ycount,newH5Income2.chartData.tcount,timeType,newH5Income2.chartData.xaxis[0],b,a);
            $("#newH5Income2").siblings(".chartText").find(".tCurrentTotal").text(transData(newH5Income2.totalData[0].ttcount));
            $("#newH5Income2").siblings(".chartText").find(".yCurrentTotal").text(transData(newH5Income2.totalData[0].ytcount));
            $("#newH5Income2").siblings(".chartText").find(".yTotal").text(transData(newH5Income2.totalData[0].ycount));

            $("#newH5Income2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newH5Income2.totalData[0].ytcount);
            $("#newH5Income2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newH5Income2.totalData[0].ttcount)
            $("#newH5Income2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newH5Income2.totalData[0].ycount)
        },
        showMainNewIpUse:function (timeType,b,a) {
            this.commonOption('newTotalIpUse2','新广告系统ip消耗',newTotalIpUse2.chartData.ycount,newTotalIpUse2.chartData.tcount,timeType,newTotalIpUse2.chartData.xaxis[0],b,a);
            $("#newTotalIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(newTotalIpUse2.totalData[0].ttcount));
            $("#newTotalIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(newTotalIpUse2.totalData[0].ytcount));
            $("#newTotalIpUse2").siblings(".chartText").find(".yTotal").text(transData(newTotalIpUse2.totalData[0].ycount));

            $("#newTotalIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newTotalIpUse2.totalData[0].ytcount);
            $("#newTotalIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newTotalIpUse2.totalData[0].ttcount)
            $("#newTotalIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newTotalIpUse2.totalData[0].ycount)
        },
        showMainNewForwardIpUse:function (timeType,b,a) {
            this.commonOption('newForwardIpUse2','新转发区ip消耗',newForwardIpUse2.chartData.ycount,newForwardIpUse2.chartData.tcount,timeType,newForwardIpUse2.chartData.xaxis[0],b,a);
            $("#newForwardIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardIpUse2.totalData[0].ttcount));
            $("#newForwardIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardIpUse2.totalData[0].ytcount));
            $("#newForwardIpUse2").siblings(".chartText").find(".yTotal").text(transData(newForwardIpUse2.totalData[0].ycount));

            $("#newForwardIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardIpUse2.totalData[0].ytcount);
            $("#newForwardIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardIpUse2.totalData[0].ttcount)
            $("#newForwardIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardIpUse2.totalData[0].ycount)
        },
        showMainNewH5IpUse:function (timeType,b,a) {
            this.commonOption('newH5IpUse2','新h5ip消耗',newH5IpUse2.chartData.ycount,newH5IpUse2.chartData.tcount,timeType,newH5IpUse2.chartData.xaxis[0],b,a);
            $("#newH5IpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(newH5IpUse2.totalData[0].ttcount));
            $("#newH5IpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(newH5IpUse2.totalData[0].ytcount));
            $("#newH5IpUse2").siblings(".chartText").find(".yTotal").text(transData(newH5IpUse2.totalData[0].ycount));

            $("#newH5IpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newH5IpUse2.totalData[0].ytcount);
            $("#newH5IpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newH5IpUse2.totalData[0].ttcount)
            $("#newH5IpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newH5IpUse2.totalData[0].ycount)
        },
        showMainForwardOutIncome:function (timeType,b,a) {
            this.commonOption('forwardOutIncome2','转发区外部收益',forwardOutIncome2.chartData.ycount,forwardOutIncome2.chartData.tcount,timeType,forwardOutIncome2.chartData.xaxis[0],b,a);
            $("#forwardOutIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardOutIncome2.totalData[0].ttcount));
            $("#forwardOutIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardOutIncome2.totalData[0].ytcount));
            $("#forwardOutIncome2").siblings(".chartText").find(".yTotal").text(transData(forwardOutIncome2.totalData[0].ycount));

            $("#forwardOutIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardOutIncome2.totalData[0].ytcount);
            $("#forwardOutIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardOutIncome2.totalData[0].ttcount)
            $("#forwardOutIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardOutIncome2.totalData[0].ycount)
        },
        showMainForwardInsideIncome:function (timeType,b,a) {
            this.commonOption('forwardInsideIncome2','转发区内部收益',forwardInsideIncome2.chartData.ycount,forwardInsideIncome2.chartData.tcount,timeType,forwardInsideIncome2.chartData.xaxis[0],b,a);
            $("#forwardInsideIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardInsideIncome2.totalData[0].ttcount));
            $("#forwardInsideIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardInsideIncome2.totalData[0].ytcount));
            $("#forwardInsideIncome2").siblings(".chartText").find(".yTotal").text(transData(forwardInsideIncome2.totalData[0].ycount));

            $("#forwardInsideIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardInsideIncome2.totalData[0].ytcount);
            $("#forwardInsideIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardInsideIncome2.totalData[0].ttcount)
            $("#forwardInsideIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardInsideIncome2.totalData[0].ycount)
        },
        showMainForwardOutIpUse:function (timeType,b,a) {
            this.commonOption('forwardOutIpUse2','转发区外部ip消耗',forwardOutIpUse2.chartData.ycount,forwardOutIpUse2.chartData.tcount,timeType,forwardOutIpUse2.chartData.xaxis[0],b,a);
            $("#forwardOutIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardOutIpUse2.totalData[0].ttcount));
            $("#forwardOutIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardOutIpUse2.totalData[0].ytcount));
            $("#forwardOutIpUse2").siblings(".chartText").find(".yTotal").text(transData(forwardOutIpUse2.totalData[0].ycount));

            $("#forwardOutIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardOutIpUse2.totalData[0].ytcount);
            $("#forwardOutIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardOutIpUse2.totalData[0].ttcount)
            $("#forwardOutIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardOutIpUse2.totalData[0].ycount)
        },
        showMainForwardInsideIpUse:function (timeType,b,a) {
            this.commonOption('forwardInsideIpUse2','转发区内部ip消耗',forwardInsideIpUse2.chartData.ycount,forwardInsideIpUse2.chartData.tcount,timeType,forwardInsideIpUse2.chartData.xaxis[0],b,a);
            $("#forwardInsideIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(forwardInsideIpUse2.totalData[0].ttcount));
            $("#forwardInsideIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(forwardInsideIpUse2.totalData[0].ytcount));
            $("#forwardInsideIpUse2").siblings(".chartText").find(".yTotal").text(transData(forwardInsideIpUse2.totalData[0].ycount));

            $("#forwardInsideIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+forwardInsideIpUse2.totalData[0].ytcount);
            $("#forwardInsideIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+forwardInsideIpUse2.totalData[0].ttcount)
            $("#forwardInsideIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+forwardInsideIpUse2.totalData[0].ycount)
        },
        showMainNewForwardOutIncome:function (timeType,b,a) {
            this.commonOption('newForwardOutIncome2','新转发区外部收益',newForwardOutIncome2.chartData.ycount,newForwardOutIncome2.chartData.tcount,timeType,newForwardOutIncome2.chartData.xaxis[0],b,a);
            $("#newForwardOutIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardOutIncome2.totalData[0].ttcount));
            $("#newForwardOutIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardOutIncome2.totalData[0].ytcount));
            $("#newForwardOutIncome2").siblings(".chartText").find(".yTotal").text(transData(newForwardOutIncome2.totalData[0].ycount));

            $("#newForwardOutIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardOutIncome2.totalData[0].ytcount);
            $("#newForwardOutIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardOutIncome2.totalData[0].ttcount)
            $("#newForwardOutIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardOutIncome2.totalData[0].ycount)
        },
        showMainNewForwardInsideIncome:function (timeType,b,a) {
            this.commonOption('newForwardInsideIncome2','新转发区内部收益',newForwardInsideIncome2.chartData.ycount,newForwardInsideIncome2.chartData.tcount,timeType,newForwardInsideIncome2.chartData.xaxis[0],b,a);
            $("#newForwardInsideIncome2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardInsideIncome2.totalData[0].ttcount));
            $("#newForwardInsideIncome2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardInsideIncome2.totalData[0].ytcount));
            $("#newForwardInsideIncome2").siblings(".chartText").find(".yTotal").text(transData(newForwardInsideIncome2.totalData[0].ycount));

            $("#newForwardInsideIncome2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardInsideIncome2.totalData[0].ytcount);
            $("#newForwardInsideIncome2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardInsideIncome2.totalData[0].ttcount)
            $("#newForwardInsideIncome2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardInsideIncome2.totalData[0].ycount)
        },
        showMainNewForwardOutIpUse:function (timeType,b,a) {
            this.commonOption('newForwardOutIpUse2','新转发区外部ip消耗',newForwardOutIpUse2.chartData.ycount,newForwardOutIpUse2.chartData.tcount,timeType,newForwardOutIpUse2.chartData.xaxis[0],b,a);
            $("#newForwardOutIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardOutIpUse2.totalData[0].ttcount));
            $("#newForwardOutIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardOutIpUse2.totalData[0].ytcount));
            $("#newForwardOutIpUse2").siblings(".chartText").find(".yTotal").text(transData(newForwardOutIpUse2.totalData[0].ycount));

            $("#newForwardOutIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardOutIpUse2.totalData[0].ytcount);
            $("#newForwardOutIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardOutIpUse2.totalData[0].ttcount)
            $("#newForwardOutIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardOutIpUse2.totalData[0].ycount)
        },
        showMainNewForwardInsideIpUse:function (timeType,b,a) {
            this.commonOption('newForwardInsideIpUse2','新转发区内部ip消耗',newForwardInsideIpUse2.chartData.ycount,newForwardInsideIpUse2.chartData.tcount,timeType,newForwardInsideIpUse2.chartData.xaxis[0],b,a);
            $("#newForwardInsideIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(newForwardInsideIpUse2.totalData[0].ttcount));
            $("#newForwardInsideIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(newForwardInsideIpUse2.totalData[0].ytcount));
            $("#newForwardInsideIpUse2").siblings(".chartText").find(".yTotal").text(transData(newForwardInsideIpUse2.totalData[0].ycount));

            $("#newForwardInsideIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+newForwardInsideIpUse2.totalData[0].ytcount);
            $("#newForwardInsideIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+newForwardInsideIpUse2.totalData[0].ttcount)
            $("#newForwardInsideIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+newForwardInsideIpUse2.totalData[0].ycount)
        },
        showComparePriceExpendChart2:function (timeType,b,a) {
            this.commonOption('comparePriceExpend2','竞价收益',comparePriceExpend2.chartData.ycount,comparePriceExpend2.chartData.tcount,timeType,comparePriceExpend2.chartData.xaxis[0],b,a);
            $("#comparePriceExpend2").siblings(".chartText").find(".tCurrentTotal").text(transData(comparePriceExpend2.totalData[0].ttcount));
            $("#comparePriceExpend2").siblings(".chartText").find(".yCurrentTotal").text(transData(comparePriceExpend2.totalData[0].ytcount));
            $("#comparePriceExpend2").siblings(".chartText").find(".yTotal").text(transData(comparePriceExpend2.totalData[0].ycount));

            $("#comparePriceExpend2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+comparePriceExpend2.totalData[0].ytcount);
            $("#comparePriceExpend2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+comparePriceExpend2.totalData[0].ttcount)
            $("#comparePriceExpend2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+comparePriceExpend2.totalData[0].ycount)
        },
        showComparePriceIpUseChart2:function (timeType,b,a) {
            this.commonOption('comparePriceIpUse2','竞价IP消耗',comparePriceIpUse2.chartData.ycount,comparePriceIpUse2.chartData.tcount,timeType,comparePriceIpUse2.chartData.xaxis[0],b,a);
            $("#comparePriceIpUse2").siblings(".chartText").find(".tCurrentTotal").text(transData(comparePriceIpUse2.totalData[0].ttcount));
            $("#comparePriceIpUse2").siblings(".chartText").find(".yCurrentTotal").text(transData(comparePriceIpUse2.totalData[0].ytcount));
            $("#comparePriceIpUse2").siblings(".chartText").find(".yTotal").text(transData(comparePriceIpUse2.totalData[0].ycount));

            $("#comparePriceIpUse2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+comparePriceIpUse2.totalData[0].ytcount);
            $("#comparePriceIpUse2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+comparePriceIpUse2.totalData[0].ttcount)
            $("#comparePriceIpUse2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+comparePriceIpUse2.totalData[0].ycount)
        },
        showPlatReadCountChart2:function (timeType,b,a) {
            this.commonOption('platReacCount2','文章阅读数',platReacCount2.chartData.ycount,platReacCount2.chartData.tcount,timeType,platReacCount2.chartData.xaxis[0],b,a);
            $("#platReacCount2").siblings(".chartText").find(".tCurrentTotal").text(transData(platReacCount2.totalData[0].ttcount));
            $("#platReacCount2").siblings(".chartText").find(".yCurrentTotal").text(transData(platReacCount2.totalData[0].ytcount));
            $("#platReacCount2").siblings(".chartText").find(".yTotal").text(transData(platReacCount2.totalData[0].ycount));

            $("#platReacCount2").siblings(".chartText").find(".yesterdayStyle1").text(b).attr('data-original-title',b+' 日此时总计 '+platReacCount2.totalData[0].ytcount);
            $("#platReacCount2").siblings(".chartText").find(".todayStyle1").text(a).attr('data-original-title',a+' 日此时总计 '+platReacCount2.totalData[0].ttcount)
            $("#platReacCount2").siblings(".chartText").find(".totalStyle1").text(b).attr('data-original-title',b+' 日总计 '+platReacCount2.totalData[0].ycount)
        }
   };
</script>

